/*首页的css文件*/

.main {
    height: 455px;
    width: 980px;
    margin-left: 220px;
    margin-top: 10px;
}

.focus {
    float: left;
    width: 721px;
    height: 455px;
}

.newsflash {
    float: right;
    width: 250px;
    height: 455px;
}

.news {
    height: 165px;
    border: 1px solid #e4e4e4;
    /* background-color: pink; */
}

.news-hd {
    height: 33px;
    line-height: 33px;
    border-bottom: 1px dotted #e4e4e4;
}

.news-hd h5 {
    float: left;
    margin-left: 15px;
    font-size: 14px;
    font-weight: 400;
}

.news-hd .more {
    float: right;
    font-size: 12px;
    margin-right: 15px;
}

.news-hd .more::after {
    font-family: 'icomoon';
    content: '\e920';
}

.news-bd {
    margin: 5px 15px 0;
}

.news-bd ul li {
    height: 24px;
    line-height: 24px;
    overflow: hidden;
    /*多出的隐藏*/
    white-space: nowrap;
    /*文字一行显示*/
    text-overflow: ellipsis;
    /*超出的部分加省略号*/
}

.lifeservice {
    /*因为边界将会有超出的部分，所以隐藏多余的边界*/
    overflow: hidden;
    height: 209px;
    /* background-color: purple; */
    border: 1px solid #e4e4e4;
    border-top: 0;
}

.lifeservice ul {
    /*将边界的宽度改大*/
    width: 252px;
}

.lifeservice ul li {
    float: left;
    height: 71px;
    width: 63px;
    text-align: center;
    border-right: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
}

.lifeservice ul li i {
    display: inline-block;
    margin-top: 12px;
    width: 25px;
    height: 25px;
    font-size: 14px;
    /* background-color: red; */
    background: url(../images/icons.png) no-repeat -16px -16px;
}


/***************************************************************************/

.lifeservice ul li:nth-of-type(2) i {
    background: url(../images/icons.png) no-repeat -80px -16px;
}

.lifeservice ul li:nth-of-type(3) i {
    background: url(../images/icons.png) no-repeat -142px -17px;
}

.lifeservice ul li:nth-of-type(4) i {
    background: url(../images/icons.png) no-repeat -206px -16px;
}

.lifeservice ul li:nth-of-type(5) i {
    background: url(../images/icons.png) no-repeat -16px -89px;
}

.lifeservice ul li:nth-of-type(6) i {
    background: url(../images/icons.png) no-repeat -80px -86px;
}

.lifeservice ul li:nth-of-type(7) i {
    background: url(../images/icons.png) no-repeat -144px -87px;
}

.lifeservice ul li:nth-of-type(8) i {
    background: url(../images/icons.png) no-repeat -206px -87px;
}

.lifeservice ul li:nth-of-type(9) i {
    background: url(../images/icons.png) no-repeat -16px -157px;
}

.lifeservice ul li:nth-of-type(10) i {
    background: url(../images/icons.png) no-repeat -79px -158px;
}

.lifeservice ul li:nth-of-type(11) i {
    background: url(../images/icons.png) no-repeat -142px -158px;
}

.lifeservice ul li:nth-of-type(12) i {
    background: url(../images/icons.png) no-repeat -206px -158px;
}


/***************************************************************************/

.discount {
    position: relative;
}

.discount div {
    position: absolute;
}

.discount div:nth-of-type(1) {
    top: 0;
    right: 0;
    font-size: 12px;
    border: solid #589d5a;
    border-width: 15px 7px 3px 7px;
    border-bottom-color: #fff;
}

.discount div:nth-of-type(2) {
    top: -2px;
    right: 1px;
    color: #fff;
}

.bargain {
    margin-top: 5px;
}


/*推荐模块*/

.recom {
    height: 163px;
    background-color: pink;
    margin-top: 10px;
}

.recom-hd {
    float: left;
    height: 163px;
    width: 206px;
    background-color: #5c5251;
}

.recom-hd img {
    margin: 32px 61px;
}

.recom-bd {
    float: left;
    height: 163px;
    width: 994px;
    background-color: #ebebeb;
}

.recom-bd ul li {
    position: relative;
    float: left;
}

.recom-bd ul li img {
    width: 248px;
    height: 163px;
}

.recom-bd ul li:nth-child(-n+3)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    width: 1px;
    height: 145px;
    background-color: #ddd;
}


/* 家用电器模块 */

.box_hd {
    height: 30px;
    border-bottom: 2px solid #c81623;
}

.box_hd h3 {
    float: left;
    color: #c81623;
    font-size: 18px;
    font-weight: 500;
}

.tab-list {
    float: right;
    line-height: 30px;
}

.tab-list ul li {
    float: left;
    font-size: 12px;
}

.tab-list ul li a {
    margin: 0 15px;
}

.floor .w {
    margin-top: 30px;
}

.box_bd {
    height: 361px;
    /* background-color: pink; */
}

.tab_list_item>div {
    float: left;
    height: 361px;
}

.col_210 {
    width: 210px;
    background-color: #f9f9f9;
    text-align: center;
}

.col_210 ul {
    margin-left: 12px;
}

.col_210 ul li {
    float: left;
    width: 85px;
    height: 34px;
    text-align: center;
    line-height: 34px;
    border-bottom: 1px solid #ededed;
    margin-right: 10px;
}

.col_329 {
    width: 329px;
}

.col_221 {
    width: 221px;
    border-right: 1px solid #ededed;
}

.col_219 {
    width: 219px;
}

.bb {
    /* a假如包含有宽度的盒子则改为块级元素 */
    display: block;
    border-bottom: 1px solid #ededed;
}